<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.HashMap"%>
<%@ page import="util.RSAUtils"%>
<%@ page import="java.security.interfaces.RSAPublicKey"%>
<%@ page import="java.security.interfaces.RSAPrivateKey"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AutoLoginDemo-Login</title>
</head>
<body>
	<form action="Login.action" method="post" id="form">
		<table>
			<tr>
				<td>用户名：</td>
				<td><input type="text" name="userName" id="userName"></td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><input type="password" name="password" id="password"></td>
			</tr>
			<tr>
				<td colspan="2">
				<input type="button" onclick="UserLogin.login('${publicKeyExponent }','${publicKeyModulus }')" value="登录"></td>
			</tr>
		</table>
	</form>
	<script src="${pageContext.request.contextPath }/js/user_login.js"></script>
	<script src="${pageContext.request.contextPath }/js/jquery.min.js"></script>
	<script src="${pageContext.request.contextPath }/js/BigInt.js"></script>
	<script src="${pageContext.request.contextPath }/js/Barrett.js"></script>
	<script src="${pageContext.request.contextPath }/js/RSA.js"></script>
</body>
</html>